home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 18243 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: iclnet.org!usenet
  2. From: Olivier ABDOUN <adde@adde.fr>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: MSVC 4.0 DAO Problem
  5. Date: Fri, 19 Apr 1996 17:52:07 +0100
  6. Organization: A.D.D.E
  7. Message-ID: <3177C4B7.6486@adde.fr>
  8. References: <1996Apr19.052528.3821@njitgw.njit.edu>
  9. NNTP-Posting-Host: adde143.adde.fr
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (WinNT; I)
  14.  
  15. Charles Hewitt wrote:
  16. > Hello,
  17. >         I don't know if this is a problem that anyone else has run across
  18. > (heck, I am not even sure it is a problem), but I am having problems
  19. > ....
  20.  
  21. Using DAO with MFC is like using MS Access: no "File Save" or "File Save As" command!
  22. When you use the Create method (for CDaoTableDef, CDaoQueryDef, CDaoRecordSet...), objects are directly created 
  23. in database file. Idem when you add or edit a record in a recordset: the sequence Edit (AddNew) - SetFieldValue 
  24. - Update assume the transaction with the file. In fact, this transaction is managed by the CDaoWorkspace 
  25. (BeginTrans, CommitTrans/Rollback method), but you don't have to care if you work with the default workspace.
  26.  
  27.     Olivier.
  28.  
  29. -- 
  30. //  Olivier ABDOUN
  31. //  A.D.D.E Logicels et Services de Cartographie
  32. //  email: adde@adde.fr
  33. //  Web:   http://www.adde.fr
  34.